package work.day09work;

import java.util.*;

/**
 * @author Administrator
 * @Description
 * @date 2022/5/11 20:12
 **/
public class Test03 {
    public static void main(String[] args) {
        Set<Integer> set = new HashSet<>();
        Random random = new Random();
        while (set.size() < 10){
            set.add(random.nextInt(100));
        }
        System.out.println(set);



    }
}
